decode_variables Subroutine

public pure subroutine decode_variables(x_coded, x_low, x_high, x_natural)

Converts coded variable values (-1, +1) to natural scale.

Arguments

Type IntentOptional Attributes Name
real(kind=real64), intent(in), dimension(:,:) :: x_coded

M-by-N matrix of coded values in range [-1, +1].

real(kind=real64), intent(in), dimension(:) :: x_low

N-element array of low values for each factor.

real(kind=real64), intent(in), dimension(:) :: x_high

N-element array of high values for each factor.

real(kind=real64), intent(out), dimension(:,:) :: x_natural

M-by-N matrix of natural (physical) variable values.